package com.chee.plant.hibernate.object;

import com.chee.plant.hibernate.object.base.BaseCrossPlant;



public class CrossPlant extends BaseCrossPlant {
	private static final long serialVersionUID = 1L;

/*[CONSTRUCTOR MARKER BEGIN]*/
	public CrossPlant () {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public CrossPlant (java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public CrossPlant (
		java.lang.Integer id,
		java.lang.Integer plantId1,
		java.lang.Integer plantId2,
		java.lang.Integer resultId,
		java.lang.Integer successRate) {

		super (
			id,
			plantId1,
			plantId2,
			resultId,
			successRate);
	}

/*[CONSTRUCTOR MARKER END]*/

	public void setDefaults(){
		this.setId(0);
		this.setPlantId1(0);
		this.setPlantId2(0);
		this.setResultId(0);
		this.setSuccessRate(0);
	}

}